package com.bean;

import java.sql.Timestamp;


/**
 * ParkAccountRecord entity. @author MyEclipse Persistence Tools
 */

public class ParkAccountRecord  implements java.io.Serializable {


	// Fields    

	/** serialVersionUID*/
	private static final long serialVersionUID = -620069308907735584L;

	private Long id;
	private ParkManager parkManager;
	private Double amount;
	private Timestamp createTime;
	private Short category;
	private Short type;
	private Short status;
	
	private Integer year;
	private Integer month;
	private Integer day;

	public ParkAccountRecord(Double amount, Short type){
		this.amount = amount;
		this.type = type;
	}
	
	public ParkAccountRecord(Double amount, Short type, Short category){
		this.amount = amount;
		this.type = type;
		this.category = category;
	}
	
	public ParkAccountRecord(Integer year, Integer month, Integer day, Double amount, Short type){
		this.year = year;
		this.month = month;
		this.day = day;
		this.amount = amount;
		this.type = type;
	}
	public ParkAccountRecord(Integer year, Integer month, Double amount, Short type){
		this.year = year;
		this.month = month;
		this.amount = amount;
		this.type = type;
	}
	public ParkAccountRecord(Integer year, Double amount, Short type){
		this.year = year;
		this.amount = amount;
		this.type = type;
	}

	// Constructors

	/** default constructor */
	public ParkAccountRecord() {
	}

	/** minimal constructor */
	public ParkAccountRecord(Double amount, Timestamp createTime, Short category, Short type, Short status) {
		this.amount = amount;
		this.createTime = createTime;
		this.category = category;
		this.type = type;
		this.status = status;
	}

	/** full constructor */
	public ParkAccountRecord(ParkManager parkManager, Double amount, Timestamp createTime, Short category, Short type, Short status) {
		this.parkManager = parkManager;
		this.amount = amount;
		this.createTime = createTime;
		this.category = category;
		this.type = type;
		this.status = status;
	}


	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public ParkManager getParkManager() {
		return this.parkManager;
	}

	public void setParkManager(ParkManager parkManager) {
		this.parkManager = parkManager;
	}

	public Double getAmount() {
		return this.amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public Short getCategory() {
		return this.category;
	}

	public void setCategory(Short category) {
		this.category = category;
	}

	public Short getType() {
		return this.type;
	}

	public void setType(Short type) {
		this.type = type;
	}

	public Short getStatus() {
		return this.status;
	}

	public void setStatus(Short status) {
		this.status = status;
	}

	/**
	 * @return the year
	 */
	public Integer getYear() {
		return year;
	}

	/**
	 * @param year the year to set
	 */
	public void setYear(Integer year) {
		this.year = year;
	}

	/**
	 * @return the month
	 */
	public Integer getMonth() {
		return month;
	}

	/**
	 * @param month the month to set
	 */
	public void setMonth(Integer month) {
		this.month = month;
	}

	/**
	 * @return the day
	 */
	public Integer getDay() {
		return day;
	}

	/**
	 * @param day the day to set
	 */
	public void setDay(Integer day) {
		this.day = day;
	}









}